
package com.micro.school.edu.convert;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.micro.school.edu.domain.CollegeMajor;
import com.micro.school.edu.domain.vo.CollegeMajorVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface CollegeMajorConvert {

    CollegeMajorConvert INSTANCE = Mappers.getMapper(CollegeMajorConvert.class);

    CollegeMajor convert(CollegeMajorVo bean);
    CollegeMajorVo convert(CollegeMajor domain);
    List<CollegeMajorVo> convert(List<CollegeMajor> domains);
}
